<?php 
	session_start();
	if ($_POST['fcs']){
		$_SESSION['fcs'] = $_POST['fcs'];
		header("Location: thenk.php");
	};
 ?>
<!DOCTYPE html>
<html lang="ru">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>1 задание</title>
	<link rel="stylesheet" href="../css/style.css">
	<link rel="shortcut icon" href="https://bsquare.co.in/assets/php_icon.png">
</head>
<body>
	<div class="content-wraper">
		<div class="content">
			<form action="#" method="POST" id="fcsForm">
				<label for="FCS" id="fcsLabel">Введите своё ФИО</label>
				<input type="text" id="FCS" name="fcs">
				<button type="submit" id="fcsBut">Отправить</button>
				<a href="/"><button type="button">На главную</button></a>
			</form>
		</div>
	</div>
</body>
</html>
